package org.kca.graphics;

public interface Displayable {
	
	/**
	 * Draws the displayable object on the screen, with the top
	 * left at position (x, y)
	 * @param x The x-coordinate of the left of the object
	 * @param y The y-coordinate of the top of the object
	 */
	public void drawComponent (int x, int y);
	
	/**
	 * Refreshes the component.
	 * @param elapsedTime The amount of time passed since the last update
	 */
	public void update (long elapsedTime);
	
}
